for i in `seq 11 20`;

do

echo "server {

listen 80;

server_name ${i}.test.com;

location / {

root html/$i;

index index.html index.htm;

}

}" >>/application/nginx/conf/extra/${i}.conf

mkdir -p /application/nginx/html/$i

echo "itest">>/application/nginx/html/
i
t
e
s
t
">>
/
a
p
p
l
i
c
a
t
i
o
n
/
n
g
i
n
x
/
h
t
m
l
/
i/index.html

done